/* -----------------------------------
 * Slidebars
 * Development version, do not use this in your site, use the latest in the distribution folder.
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * Modified by Simone Sagona for Zaki Design (added dynamic colors and other utilities)
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Base Stlying, Scroll Locking & Web App
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * --------------------------------------------
 * 001 - Base Stlying, Scroll Locking & Web App
 */
 

html, body, #sb-site, .sb-site-container, .sb-slidebar {
	/* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
	height: auto;
	position: relative; /* Required for static Slidebars to function properly. */
}

/* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
html.sb-scroll-lock.sb-active:not(.sb-static) {
	overflow: hidden;
}

/* Web app */
html.sb-web-app,
html.sb-web-app body {
	height: 100%;
	overflow: hidden;
}

html.sb-web-app body {
	-webkit-overflow-scrolling: touch;
}

/* --------------------
 * 002 - Site Container
 */

#sb-site, .sb-site-container {
	/* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
	width: 100%;
	position: relative;
	z-index: 1; /* Site sits above Slidebars */
	background-color: #ffffff; /* Default background colour, you can overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
}

/* ---------------
 * 003 - Slidebars
 */

/*Inizio CSS Menu Wordpress (Zaki Design) */
#top-mobile-menu {
	position: fixed;
	width: auto;
	height: 49px;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background-color: #222222;
	border-bottom: 1px solid #181818;
}

#top-mobile-menu .sb-toggle-left,
#top-mobile-menu .sb-toggle-right {
	margin: 12px;
	display: -moz-inline-stack;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

#top-mobile-menu .sb-toggle-right {
	float: right;
}

#mobile-absolute-search {
	display: inline;
	min-width: 215px;
}

#mobile-absolute-search form[role="search"] input {
	width: 140px;
	height: 26px;
	margin: 0;
	background-color: #fff;
	line-height: 17px;
	font-size: 11px;
	margin-top: 9px;
	margin-right: 15px;
}
#mobile-absolute-search form[role="search"] button {
	width: 60px;
	height: 26px;
	margin: 0;
	padding: 4px;
	background-color: #fff;
	font-size: 11px;
	margin-top: 9px;
	border: 3px solid #fff;
}

#slidebar-id form[role="search"] {
	margin-bottom: 15px;
}

#slidebar-id form[role="search"] input {
	width: 120px;
	height: 26px;
	margin: 0;
	padding: 10px;
	background-color: #fff;
	font-size: 11px;
	margin-top: 9px;
	margin-left: 12px;
	margin-right: 12px;
}
#slidebar-id form[role="search"] button {
	width: 60px;
	height: 26px;
	margin: 0;
	padding: 4px;
	background-color: #fff;
	font-size: 11px;
	margin-top: 9px;
	border: 3px solid #fff;
}

.icon-mobilemenu-white {
	background-image: url('../../img/mobilemenu-white.png') !important;
}

.sb-slidebar {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 49px;
	z-index: 0; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */
	-webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
	left: 0; /* Set Slidebar to the left. */
	border-right: 1px solid #ccc;
}

.sb-right {
	right: 0; /* Set Slidebar to the right. */
	border-left: 1px solid #ccc;
}

.sb-left ul .opened,
.sb-right ul .opened {
	border-top: 1px solid #2e2e2e;
	border-bottom: 1px solid #222222;
	border-left: 3px solid #fff !important;
	background-color: #3e3e3e;
	background-image: url('../../img/submenu-minus.png') !important;
	cursor: pointer;
}

.sb-left ul .opened:hover,
.sb-right ul .opened:hover {
	border-left: 3px solid #fff !important;
}

.sb-left ul li,
.sb-right ul li {
	border-top: 1px solid #2e2e2e;
	border-bottom: 1px solid #222222;
	border-left: 3px solid #545454;
	background-color: #222222;
	cursor: pointer;
}

.sb-left ul li.mobile-menu-item-has-children,
.sb-right ul li.mobile-menu-item-has-children {
	background-image: url('../../img/submenu-plus.png');
	background-repeat: no-repeat;
	background-position: right -3px;
}

.sb-left ul li:hover,
.sb-right ul li:hover {
	background-color: #3e3e3e;
	border-left: 3px solid #fff;
}

.sb-left ul li ul li,
.sb-right ul li ul li {
	border-top: 1px solid #161616;
	border-bottom: 1px solid #202020;
	border-left: 3px solid #545454;
	cursor: pointer;
	background-color: #1c1c1c;
}

.sb-left ul li ul li:hover,
.sb-right ul li ul li:hover {
	border-left: 3px solid #fff;
}

.sb-left ul li ul li ul li,
.sb-right ul li ul li ul li {
	border-top: 1px solid #101010;
	border-bottom: 1px solid #1e1e1e;
	border-left: 3px solid #545454;
	cursor: pointer;
	background-color: #161616;
}

.sb-left ul li ul li ul li:hover,
.sb-right ul li ul li ul li:hover {
	border-left: 3px solid #fff;
}

.sb-left ul li ul li:first-child,
.sb-right ul li ul li:first-child {
	border-top: 2px solid #2e2e2e;
}

.sb-left ul li:last-child,
.sb-right ul li:last-child {
	border-bottom: 1px solid #2e2e2e;
}

.sb-left ul li ul li:hover,
.sb-right ul li ul li:hover {
	background-color: #3e3e3e;
}

.sb-left ul li a,
.sb-right ul li a {
	color: #f2f2f2;
	font-size: 13px;
	padding: 0.8em 3%;
	cursor: pointer;
	display: block;
}

.sb-left ul li.mobile-menu-item-has-children a,
.sb-right ul li.mobile-menu-item-has-children a {
	width: 70%;
	color: #f2f2f2;
	font-size: 13px;
	padding: 0.8em 3%;
	cursor: pointer;
	/* Inizio inline-block */
    display: -moz-inline-stack;
	display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
	/* Fine inline-block */
}

.sb-left ul li span,
.sb-right ul li span {
	width: 20%;
	height: 43px;
	/* Inizio inline-block */
    display: -moz-inline-stack;
	display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
	/* Fine inline-block */
}

.sb-left ul li ul li a,
.sb-right ul li ul li a {
	width: 66% !important;
	padding: 0.5em 5% !important;
}

.sb-left ul li ul li span,
.sb-right ul li ul li span {
	width: 20%;
	height: 38px;
	/* Inizio inline-block */
    display: -moz-inline-stack;
	display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
	/* Fine inline-block */
}

.sb-left ul li ul li.mobile-menu-item-has-children ul li a,
.sb-right ul li ul li.mobile-menu-item-has-children ul li a {
	display: block !important;
	padding: 0.2em 7% !important;
}
/*Fine CSS Menu Wordpress (Zaki Design) */

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
	display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
	z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
	-webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

/* Slidebar widths for browsers/devices that don't support media queries. */
	.sb-slidebar {
		width: 250px;
		/*width: 30%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 15%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 45%;*/
	}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
	.sb-slidebar {
		width: 250px;
		/*width: 70%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 55%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 85%;*/
	}
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
	.sb-slidebar {
		width: 250px;
		/*width: 55%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 40%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 70%;*/
	}
}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
	.sb-slidebar {
		width: 250px;
		/*width: 40%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 25%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 55%;*/
	}
}

@media (min-width: 992px) { /* Slidebar widths on large screens. */
	.sb-slidebar {
		width: 250px;
		/*width: 30%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 15%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 45%;*/
	}
}

@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */
	.sb-slidebar {
		width: 250px;
		/*width: 20%;*/
	}
	
	.sb-width-thin {
		width: 250px;
		/*width: 5%;*/
	}
	
	.sb-width-wide {
		width: 250px;
		/*width: 35%;*/
	}
}

/* ---------------
 * 004 - Animation
 */

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
	-webkit-transition: -webkit-transform 400ms ease;
	   -moz-transition: -moz-transform 400ms ease;
	     -o-transition: -o-transform 400ms ease;
	        transition: transform 400ms ease;
	-webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
}

/* --------------------
 * 005 - Helper Classes
 */
 
.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}